home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / sun3.md / RCS / machparam.h,v < prev    next >
Encoding:
Text File  |  1991-10-22  |  3.6 KB  |  186 lines

  1. head     1.5;
  2. branch   ;
  3. access   ;
  4. symbols  sprited:1.5.1;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.5
  10. date     89.07.14.09.17.38;  author rab;  state Exp;
  11. branches 1.5.1.1;
  12. next     1.4;
  13.  
  14. 1.4
  15. date     88.08.01.08.13.47;  author ouster;  state Exp;
  16. branches ;
  17. next     1.3;
  18.  
  19. 1.3
  20. date     88.07.21.16.20.48;  author ouster;  state Exp;
  21. branches ;
  22. next     1.2;
  23.  
  24. 1.2
  25. date     88.07.19.13.19.31;  author mendel;  state Exp;
  26. branches ;
  27. next     1.1;
  28.  
  29. 1.1
  30. date     88.06.21.17.35.36;  author ouster;  state Exp;
  31. branches ;
  32. next     ;
  33.  
  34. 1.5.1.1
  35. date     91.10.22.12.18.41;  author kupfer;  state Exp;
  36. branches ;
  37. next     ;
  38.  
  39.  
  40. desc
  41. @@
  42.  
  43.  
  44. 1.5
  45. log
  46. @*** empty log message ***
  47. @
  48. text
  49. @/*
  50.  * machparam.h --
  51.  *
  52.  *    This file contains various machine-dependent parameters needed
  53.  *    by UNIX programs running under Sprite.  This file includes parts
  54.  *    of the UNIX header files "machine/machparm.h" and
  55.  *    "machine/endian.h".  Many of things in the UNIX file are only
  56.  *    useful for the kernel;  stuff gets added to this file only
  57.  *    when it's clear that it is needed for user programs.
  58.  *
  59.  * Copyright 1988 Regents of the University of California
  60.  * Permission to use, copy, modify, and distribute this
  61.  * software and its documentation for any purpose and without
  62.  * fee is hereby granted, provided that the above copyright
  63.  * notice appear in all copies.  The University of California
  64.  * makes no representations about the suitability of this
  65.  * software for any purpose.  It is provided "as is" without
  66.  * express or implied warranty.
  67.  *
  68.  * $Header: /sprite/src/lib/include/sun3.md/RCS/machparam.h,v 1.4 88/08/01 08:13:47 ouster Exp Locker: rab $ SPRITE (Berkeley)
  69.  */
  70.  
  71. #ifndef _MACHPARAM
  72. #define _MACHPARAM
  73.  
  74. #ifndef _LIMITS
  75. #include <limits.h>
  76. #endif
  77.  
  78. /*
  79.  *----------------------
  80.  * Taken from endian.h:
  81.  *----------------------
  82.  */
  83.  
  84. /*
  85.  * Definitions for byte order,
  86.  * according to byte significance from low address to high.
  87.  */
  88. #define LITTLE_ENDIAN   1234    /* least-significant byte first (vax) */
  89. #define BIG_ENDIAN      4321    /* most-significant byte first (IBM, net) */
  90. #define PDP_ENDIAN      3412    /* LSB first in word, MSW first in long (pdp) */
  91.  
  92. #define BYTE_ORDER      BIG_ENDIAN   /* byte order on sun3 */
  93.  
  94. /*
  95.  *----------------------
  96.  * Miscellaneous:
  97.  *----------------------
  98.  */
  99.  
  100. /*
  101.  * The bits of a address that should not be set if word loads and stores
  102.  * are done on the address. This mask intended for fast byte manipulation
  103.  * routines.
  104.  */
  105.  
  106. #define    WORD_ALIGN_MASK    0x1
  107.  
  108. /*
  109.  * Sizes of pages and segments.  SEGSIZ is valid only on Suns, and used
  110.  * only in EMACS, I think.  I'm not sure why it should get used anywhere.
  111.  */
  112.  
  113. #define PAGSIZ 0x2000
  114. #define SEGSIZ 0x20000
  115.  
  116. #endif /* _MACHPARAM */
  117. @
  118.  
  119.  
  120. 1.5.1.1
  121. log
  122. @Initial branch for Sprite server.
  123. @
  124. text
  125. @d20 1
  126. a20 1
  127.  * $Header: /sprite/src/lib/include/sun3.md/RCS/machparam.h,v 1.5 89/07/14 09:17:38 rab Exp $ SPRITE (Berkeley)
  128. @
  129.  
  130.  
  131. 1.4
  132. log
  133. @Added SEGSIZ and PAGSIZ.
  134. @
  135. text
  136. @d20 1
  137. a20 1
  138.  * $Header: machparam.h,v 1.3 88/07/21 16:20:48 ouster Exp $ SPRITE (Berkeley)
  139. d68 1
  140. a68 1
  141. #endif _MACHPARAM
  142. @
  143.  
  144.  
  145. 1.3
  146. log
  147. @Include limits.h.
  148. @
  149. text
  150. @d20 1
  151. a20 1
  152.  * $Header: machparam.h,v 1.2 88/07/19 13:19:31 mendel Exp $ SPRITE (Berkeley)
  153. d46 21
  154. a66 6
  155. #define    WORD_ALIGN_MASK    0x1        /* The bits of a address that should 
  156.                      * not be set if word loads and stores
  157.                      * are done on the address. This mask
  158.                      * intended for fast byte manipulation
  159.                      * routines.
  160.                      */
  161. @
  162.  
  163.  
  164. 1.2
  165. log
  166. @Added WORD_ALIGN_MASK.
  167. @
  168. text
  169. @d20 1
  170. a20 1
  171.  * $Header: machparam.h,v 1.1 88/06/21 17:35:36 ouster Exp $ SPRITE (Berkeley)
  172. d25 4
  173. @
  174.  
  175.  
  176. 1.1
  177. log
  178. @Initial revision
  179. @
  180. text
  181. @d20 1
  182. a20 1
  183.  * $Header: proto.h,v 1.2 88/03/11 08:39:40 ouster Exp $ SPRITE (Berkeley)
  184. d41 7
  185. @
  186.